E cient Algorithms for Counting and Reporting Pairwise Intersections between Convex Polygons
نویسندگان
چکیده
Let S be a set of convex polygons in the plane with a total of n vertices, where a polygon consists of the boundary as well as the interior. E cient algorithms are presented for the problem of reporting output-sensitively (resp. counting) the I pairs of polygons that intersect. The algorithm for the reporting (resp. counting) problem runs in time O(n4=3+ +I) (resp. O(n4=3+ )), where > 0 is an arbitrarily small constant. This result is based on an interesting characterization of the intersection of two convex polygons in terms of the intersection of certain trapezoids from their trapezoidal decomposition. Also given is an alternative solution to the reporting problem, which runs in O(n4=3 logn + I) time, and is based on characterizing the intersection of two convex polygons via the intersection of their upper and lower chains and their leftmost vertices. The problems are interesting and challenging because the output size, I , can be much smaller than the total number of intersections between the boundaries of the polygons and because the number of polygons and their sizes can depend on n.
منابع مشابه
Efficient Algorithms for Counting and Reporting Pairwise Intersections Between Convex Polygons
Let S be a set of convex polygons in the plane with a total of n vertices, where a polygon consists of the boundary as well as the interior. EEcient algorithms are presented for the problem of reporting output-sensitively (resp. counting) the I pairs of polygons that intersect. The algorithm for the reporting (resp. counting) problem runs in time O(n 4=3+ +I) (resp. O(n 4=3+)), where > 0 is an ...
متن کاملOptimal Shortest Path and Minimum-Link Path Queries Between Two Convex Polygons Inside a Simple Polygonal Obstacle
We present e cient algorithms for shortest path and minimum link path queries between two convex polygons inside a simple polygon P which acts as an obstacle to be avoided Let n be the number of vertices of P and h the total number of vertices of the query polygons We show that shortest path queries can be performed optimally in time O logh logn plus O k time for reporting the k edges of the pa...
متن کاملIntersection Detection of Convex Polygons
Detecting whether two geometric objects intersect and computing the region of intersection are fundamental problems in computational geometry. Geometric intersection problems arise naturally in a number of applications. Examples include geometric packing and covering, wire and component layout in VLSI, map overlay in geographic information systems, motion planning, and collision detection. In s...
متن کاملA New Heuristic Algorithm for Drawing Binary Trees within Arbitrary Polygons Based on Center of Gravity
Graphs have enormous usage in software engineering, network and electrical engineering. In fact graphs drawing is a geometrically representation of information. Among graphs, trees are concentrated because of their ability in hierarchical extension as well as processing VLSI circuit. Many algorithms have been proposed for drawing binary trees within polygons. However these algorithms generate b...
متن کاملComputing the Convex Hull of Line Intersections
We give an O(nlogn) t!me algorithm for computing tbe convex hull of the n(n-1)/2 points determined by the pairwise intersections of n lines in the plane.
متن کامل